import 'dart:async';

import 'package:flutter/services.dart';

class WeixinClient {
  static final WeixinClient _instance = new WeixinClient._internal();
  final weixinChannel = const MethodChannel('silver.zuoent.com/weixin');

  factory WeixinClient() {
    return _instance;
  }

  WeixinClient._internal();

  Future<String> login() async {
    return await weixinChannel.invokeMethod('login');
  }
}
